package com.ruoyi.am.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车辆位置信息对象 am_car_place
 * 
 * @author hkkk
 * @date 2021-07-03
 */
public class AmCarPlace extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 位置ID */
    private Long placeId;

    /** 车牌号码 */
    @Excel(name = "车牌号码")
    private String carNum;

    /** 司机ID */
    private Long driverId;

    /** 司机姓名 */
    @Excel(name = "司机姓名")
    private String driverName;

    /** 坐标 */
    @Excel(name = "坐标")
    private String place;

    /** 位置 */
    @Excel(name = "位置")
    private String placeName;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    public AmCarPlace(Long driverId) {
        this.driverId = driverId;
    }

    public AmCarPlace() {
    }

    public void setPlaceId(Long placeId)
    {
        this.placeId = placeId;
    }

    public Long getPlaceId() 
    {
        return placeId;
    }
    public void setCarNum(String carNum) 
    {
        this.carNum = carNum;
    }

    public String getCarNum() 
    {
        return carNum;
    }
    public void setDriverId(Long driverId) 
    {
        this.driverId = driverId;
    }

    public Long getDriverId() 
    {
        return driverId;
    }
    public void setDriverName(String driverName) 
    {
        this.driverName = driverName;
    }

    public String getDriverName() 
    {
        return driverName;
    }
    public void setPlace(String place) 
    {
        this.place = place;
    }

    public String getPlace() 
    {
        return place;
    }
    public void setPlaceName(String placeName) 
    {
        this.placeName = placeName;
    }

    public String getPlaceName() 
    {
        return placeName;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("placeId", getPlaceId())
            .append("carNum", getCarNum())
            .append("driverId", getDriverId())
            .append("driverName", getDriverName())
            .append("place", getPlace())
            .append("placeName", getPlaceName())
            .append("status", getStatus())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
